<?php slot('title', 'Editting Deadline '); ?>
<?php slot ('header')?>
<h1>Editting <?php echo $deadline->getTitle()?></h1>
<?php end_slot()?>
<?php slot ('side_bar') ?>
<h2>View</h2>
<ul>
    <li><?php echo link_to('Calendar', '@planning_calendar_no_dates?pr_slug='.$prSlug);?></li>
    <li><?php echo link_to('List', '@planning_list?pr_slug='.$prSlug )?></li>
    <li><?php echo link_to('Gantt Chart', '@planning_chart?pr_slug='.$prSlug)?></li>
</ul>
<h2>Search</h2>
<ul>
    <li><?php echo link_to('Search', '@planning_search?pr_slug='.$prSlug )?></li>
</ul>
<h2>Deadlines</h2>
<ul>
    <li><?php echo link_to('Add', '@planning_create?pr_slug='.$prSlug )?></li>
</ul>
<?php end_slot() ?>

<div id="plan">
</div>
<br />
<form action="<?php echo url_for('@planning_edit?pr_slug='.$prSlug.'&id='.$id.'&parent='.$tempParent) ?>" method="post">
    <input type="hidden" name="sf_method" value="put" />
    <table style="width: 100%;">
        <?php echo $form; ?>
        <tr>
            <td colspan="2">
                <input type="submit" value="Submit">
            </td>
        </tr>
    </table>
<form>